package team.lourd.network.system.socketio;

import com.corundumstudio.socketio.SocketIOServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
/** 
* @Description: 和一下代码的结果是一样的
 * implements ApplicationRunner {
 *   public void run(ApplicationArguments args) throws Exception {
 *      Do something...
 *   }
 * }
* @Author: Lourd 
* @Date: 2019/1/17 
*/
@Component
public class SocketRunner implements CommandLineRunner {

    @Autowired
    private SocketIOServer server;

    @Override
    public void run(String... args) throws Exception {
        //server.start();
    }
}